package com.zenithmind.note.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "笔记VO")
public class NoteVO {
    @Schema(description = "笔记ID")
    private Long id;
    
    @Schema(description = "用户ID")
    private Long userId;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "分类ID")
    private String categoryId;
    
    @Schema(description = "分类名称")
    private String categoryName;
    
    @Schema(description = "笔记标题")
    private String title;
    
    @Schema(description = "笔记内容")
    private String content;
    
    @Schema(description = "笔记标签")
    private String tags;
    
    @Schema(description = "标签列表")
    private List<NoteTagVO> tagList;
    
    @Schema(description = "浏览次数")
    private Integer viewCount;
    
    @Schema(description = "点赞次数")
    private Integer likeCount;
    
    @Schema(description = "评论次数")
    private Integer commentCount;
    
    @Schema(description = "状态(0-草稿, 1-已发布)")
    private Integer status;
    
    @Schema(description = "是否点赞")
    private Boolean liked;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
} 